package com.surpassun.emall.service;

import java.util.List;

import com.surpassun.emall.model.Statistics;

public interface StatisticsService extends AbstractService<Statistics> {

	public void addRecord(String field, long referenceId);
	
	public Statistics getExisted(String field, long referenceId);
	
	public int getTotal(String field, long referenceId);
	
	public List<Long> getTopItems(String field, int number);
}
